<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
      *{
        margin: 0;
        padding: 0;
      }
      #box{
          width: 300px;
          height: 100px;
          background: darkblue;
        animation:move 10s ;
      }
   
      @keyframes move {
          0%{width: 500px;
          height: 200px;
          background: darkblue;}
          20%{
            /* rotate 旋转 参数为deg度数 */
            transform:rotate(720deg);
          }
          50%{
            /* skew 倾斜 deg度数 */
            transform: skew(0,50deg);
          }

          70%{
            /* scale 放大缩小 */
            transform: scale(2);
          }
          90%{
          /* translate位移 */
          transform:translate(600px,400px);
        }
          100%{
            transform:translate(200px,300px) scale(3) rotate(180deg) skew(80deg);
          }
      }
  </style>
</head>
<body>
    <div id="box">
        你好
    </div>
</body>
</html>